<?php

namespace App\Enums\Common;

class NsqEnum
{
    // topic
    const TOPIC_RMS_USER_BASE_INFO_EDIT             = 'rms.user.baseInfoEdit'; // 用户基本信息编辑
    const TOPIC_KFOS_ORDER_DELIVERY_EXPRESS         = 'kfos.order.delivery.express'; // 出库单 - 快递发货
    const TOPIC_KFOS_MERCHANT_ORDER_CLOSE           = 'kfos.order.merchantOrder.closed'; // 商家订单 - 关闭
    const TOPIC_TIGER_FS_ROBOT_SEND                 = 'tiger.fs.robot.send'; // 飞书机器人发送消息
    const TOPIC_RMS_MYBANK_REGISTER                 = 'rms.mybank.register'; // 网商注册
    const TOPIC_FS_USER_NEW                         = 'rms.fs.user.new'; // 飞书用户新增
    const TOPIC_FS_EVENT                            = 'rms.fs.event'; // 飞书事件通知
    const TOPIC_MQTT_SEND                           = 'rms.mqtt.send'; // mqtt发送消息
    const TOPIC_RMS_SHOP_CREATE                     = 'rms.shop.create'; // 店铺创建
    const TOPIC_MQTT_SUBSCRIBE                      = 'rms.mqtt.subscribe'; // mqtt订阅
    const TOPIC_RMS_SHOP_STAFF_EVENT                = 'rms.shop.staff.event'; // 门店员工创建删除事件通知
    const TOPIC_KFOS_FIRST_UNIFIED_ORDER            = 'kfos.first.unified.order'; // 统配首批订货
    const TOPIC_RMS_SHOP_ATTRIBUTE_EVENT            = 'rms.shop.attribute.event'; // 门店属性事件通知
    const TOPIC_SYSTEM_POP_WINDOW                   = 'tiger.system.pop.window'; // 应用弹窗
    const TOPIC_KFOS_MERCHANT_ORDER_CREATED         = 'kfos.order.merchantOrder.created'; // 订货订单创建事件通知
    const TOPIC_KFOS_MERCHANT_ORDER_ADDRESS_CREATED = 'kfos.order.deliveryNote.created'; // 订货订单地址创建事件通知
    const TOPIC_TIGER_CRUISE_ORDER_CHANGED          = 'tiger.cruise.order.changed'; // 巡检订单变更时间通知

    // channel
    const CHANNEL_TIGER_SUB_USER                             = 'tiger.sub.user';
    const CHANNEL_TIGER_SUB_DELIVERY_EXPRESS                 = 'tiger.sub.delivery.express';
    const CHANNEL_TIGER_SUB_MERCHANT_ORDER_CLOSE             = 'tiger.sub.merchantOrder.closed';
    const CHANNEL_TIGER_SUB_FS_ROBOT_SEND                    = 'tiger.sub.fs.robot.send';
    const CHANNEL_TIGER_SUB_MYBANK_REGISTER                  = 'tiger.sub.mybank.register';
    const CHANNEL_TIGER_FS_USER_NEW                          = 'tiger.fs.user.new'; // 飞书用户新增
    const CHANNEL_TIGER_FS_EVENT                             = 'tiger.sub.fs.event'; // 飞书事件通知
    const CHANNEL_TIGER_SHOP_CREATE                          = 'tiger.sub.shop.create'; // 店铺创建
    const CHANNEL_TIGER_MQTT_SUBSCRIBE                       = 'tiger.sub.mqtt.subscribe'; // mqtt订阅消息
    const CHANNEL_TIGER_SHOP_STAFF_EVENT                     = 'tiger.sub.shop.staff.event'; // 门店员工创建删除事件通知
    const CHANNEL_TIGER_FIRST_UNIFIED_ORDER                  = 'tiger.first.unified.order'; // 统配首批订货
    const CHANNEL_TIGER_SHOP_ATTRIBUTE_EVENT                 = 'tiger.sub.shop.attribute'; // 门店属性事件通知
    const CHANNEL_TIGER_SYSTEM_POP_WINDOW                    = 'tiger.sub.system.pop.window'; // 应用弹窗
    const CHANNEL_TIGER_MERCHANT_ORDER_CREATED_EVENT         = 'tiger.sub.merchantOrder.created'; // tiger监听订货订单创建事件通知
    const CHANNEL_TIGER_MERCHANT_ORDER_ADDRESS_CREATED_EVENT = 'tiger.sub.merchantOrderAddress.created'; // tiger监听订货订单地址创建事件通知

}
